package com.sunny.fetch.mapper;

import com.sunny.fetch.pojo.FMajorNews;
import com.sunny.fetch.pojo.FMajorNewsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

public interface FMajorNewsMapper extends Mapper<FMajorNews>, InsertListMapper<FMajorNews> {
    long countByExample(FMajorNewsExample example);

    int deleteByExample(FMajorNewsExample example);

    List<FMajorNews> selectByExample(FMajorNewsExample example);

    int updateByExampleSelective(@Param("record") FMajorNews record, @Param("example") FMajorNewsExample example);

    int updateByExample(@Param("record") FMajorNews record, @Param("example") FMajorNewsExample example);
}